package demo1;

public class Dog1 extends Anima1 {

    static {
        System.out.println("Dog1 0");
    }
    {
        System.out.println("Dog1 1");

    }

        public void eat (){
            System.out.println(this.name+"吃吃吃.....");
        }

    public Dog1() {
            super("碧碧",11);
    }

}
